import { request } from '../request.js'
const affirm = {
	deliverAddress(params) {
		return request({
			method: 'Get',
			url: '/api/uac/front/deliverAddr'
	
		})
	},
	rodersave(params) {
		return request({
			method: 'Post',
			url: '/api/order/front/order/preOrder/quick',
			params:params
	
		})
	},
	actordersave(params) {
		return request({
			method: 'Post',
			url: '/api/order/front/order/seckill',
			params:params
	
		})
	},
	bindSearch (params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/front/agent/bindSearch',
	    params: params
	  })
	},
	// 校验是否开启订单绑定代理商功能
	checkOrderAgentBind () {
	  return request({
	    method: 'Get',
	    url: '/api/cms/cfg/common/checkOrderAgentBind'
	  
	  })
	},
	cart(params) {
	  return request({
	    method: 'Post',
	    url: '/api/order/front/order/preOrder/cart',
	    params: params
	  })
	},
	queryDict(params) {
		return request({
			method: 'Get',
			url: '/api/cms/dict',
			params:params
		})
	},
	}
export default affirm